package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.SearchCourse;
import com.hl.sfzy.entity.SearchMark;
import com.hl.sfzy.entity.SearchProAndAns;
import com.hl.sfzy.entity.SearchTeacher;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SearchTeacherByIdMapper {
    //根据咨询师id查询评论
    List<SearchMark> selectMarkByUserId(Integer teacherId);
    //根据咨询师id查询问题和答案
    List<SearchProAndAns> selectProAndAnsLimit();
    //根据咨询师id查询咨询师个人信息
    SearchTeacher selectTeacherById(Integer teacherId);
    //根据id查询课程照片标题
    List<SearchCourse> selectCourseByTeacherId(Integer teacherId);
}
